package com.free.semantic.infrastruct.repository;

import com.free.semantic.model.conceptmodel.RelationDefineEntity;
import java.util.List;

public interface RelationDefineRepository {

    RelationDefineEntity findById(Long id);

    List<RelationDefineEntity> findBySemanticNetworkId(Long semanticNetworkId);

    Long save(RelationDefineEntity relationDefineEntity);

    void update(RelationDefineEntity relationDefineEntity);

    void deleteById(Long id);

    void deleteBySemanticNetworkId(Long semanticNetworkId);
    
} 